import http from '@/utils/http'

//获取商品列表
export const reqGoodList = ({ page, limit, ...data }) => {
  return http.get(`/goods/list/${page}/${limit}`, data)
}

//商品详情
export const reqGoodDetail = (goodsId) => {
  return http.get(`/goods/${goodsId}`)
}
